package jdmx.framework.ui;

import jdmx.framework.common.interfaces.Facade;
import jdmx.framework.common.interfaces.Proxy;

public class UIContext {

	public static UIConfiguration config = null;
	public static Proxy proxy = null;
	public static Facade facade = null;
	
	public static void init() {
		if (config == null) config = new UIConfiguration();
		config.readLocalConfiguration();
		proxy = ProxyFactory.create(config.proxyType);
	}
}
